<?php
class Computer {

	const YES = true;
	const NO = false;
	const ONE = 1 ;
	const TWO = self::ONE+1;
	const THREE = self::TWO+1 ;
}
// 使用表达式定义常量 (PHP 5 >= 5.6.0, PHP 7)
var_dump(Computer::YES);
